<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<style>
<!--
.user_type {  }
.user_type_0 { background: #898989;font-size: 14px;  color: #FFFFFF;text-align:center;margin: 2px}
.user_type_1 { background: #3399FF;font-size: 14px;  color: #FFFFFF;text-align:center;margin: 2px}
.user_type_2 { background: #E75E42;font-size: 14px;  color: #FFFFFF;text-align:center;margin: 2px}
.user_type_4 { background: #62B330;font-size: 14px;  color: #FFFFFF;text-align:center;margin: 2px}
.user_type_8 { background: #E7BB5A;font-size: 14px;  color: #FFFFFF;text-align:center;margin: 2px}
.user_type_16 { background: #993399;font-size: 14px;  color: #FFFFFF;text-align:center;margin: 2px}
-->
</style>
<body>
<div class="wrap">
<div class="h_a">搜索</div>
<form action="${requestScope.FPWEB.rootPath }/user/query${requestScope.FPWEB.urlStuff}" method="get" autocomplete="off">
	<div class="search_type cc">
		<input type="hidden" name="c" value="Userquery">
		<label>会员：</label><input name="keys" type="text" class="input length_3 mr10" value="${keys}" placeholder="用户名/姓名/手机/邮箱/身份证">
		<button type="submit" class="btn btn_submit length_1">搜索</button>
	</div>
</form>
		<div class="table_list">
			<table width="100%">
				<thead>
					<tr>
						<td width="60">User_id</td>
						<td>账户</td>
						<td>姓名/身份证</td>
						<td>手机/邮箱</td>
						<td>注册日期/最后登录</td>
						<td>账户类型</td>
						<td>操作</td>
					</tr>
				</thead>
				<tbody id="J_word_list">
					<c:forEach items="${list}" var="item">
						<tr>

							<td>${item.user_id}</td>
							<td>${item.username}</td>

							<td>
								<ul class="single_list cc">
									<li>${idInfo[item.user_id].idname}</li>
									<li>${idInfo[item.user_id].idcard}</li>
								</ul>
							</td>
							<td>
								<ul class="single_list cc">
									<li>${item.strMap.mobile}</li>
									<li>${item.email}</li>
								</ul>
							</td>
							<td>
								<ul class="single_list cc">
									<li>${item.strMap.regdate}</li>
									<li>${item.strMap.lastdate}</li>
								</ul>
							</td>
							<td>
								<ul>
									<c:forEach items="${item.strMap.type }" var="o">
										<div class="user_type_${o }">
											<c:if test="${o==0 }">普通用户</c:if>
											<c:if test="${o==1 }">投资用户</c:if>
											<c:if test="${o==2 }">vip用户</c:if>
											<c:if test="${o==4 }">借款用户</c:if>
											<c:if test="${o==8 }">理财卡用户</c:if>
											<c:if test="${o==16 }">东庄用户</c:if>
										</div>
										<p />
									</c:forEach>
								</ul>
							</td>
							<td>
								<li><a class="btn mr5"
									href="${requestScope.FPWEB.rootPath }/user/basic${requestScope.FPWEB.urlStuff}?id=${item.user_id}">查看详情</a></li>
							</td>
						</tr>
					</c:forEach>

				</tbody>
			</table>
		</div>
	</div>
<script>YJD.use('AppAdminCommon');</script>
</body>